package com.horizon.manage.student.service;

import com.horizon.common.exception.HorizonException;
import com.horizon.manage.student.dto.StudentDto;
import com.horizon.manage.student.entity.Student;
import org.springblade.core.mp.base.BaseService;

import java.util.Optional;

/**
 * 学生扩展信息service.
 *
 * @author zhaoshb
 * @since 2022/11/28 23:26
 */
public interface IStudentService extends BaseService<Student> {

    Optional<Long> create(StudentDto studentDto);

    boolean delete(Long studentExtendInfoId);

    boolean update(StudentDto studentDto) throws HorizonException;
}
